package org.lingshi.shopping_manager_api;

import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * Hello world!
 *
 */

@EnableDiscoveryClient
@EnableDubbo
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@RefreshScope
@Slf4j
public class ShoppingMangerApiApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(ShoppingMangerApiApplication.class,args);
        log.info("========================ShoppingMangerApi 启动成功===========================");
    }
}
